package tamagoshi;


public enum Besoin {
	
	Satisfait("up"),NonSatisfait("down");
	private int jauge;
	public String label;
	Besoin(String label){
		this.label = label;
		this.jauge = 10;
	}
	public String getBesoin(){
		return this.label;
	}
	public void setBesoin(String label){
		this.label = label;
	}
	public void setJauge(){
		this.jauge = 10;
	}
	public int getJauge()
	{
		return this.jauge;
	}
	public void BaisseJauge()
	{
                int random = (int) (Math.random() * (5 - 1)) + 1;
		this.jauge = this.jauge - random;
                random=0;
	}
}
